import Vue from 'vue'
import App from './App.vue'
import router from './router'

import './plugins/element.js'
//导入全局样式
import './assets/css/global.css'
//导入iconfig
import './assets/font/iconfont.css'
//导入axios(跨域)
import axios from 'axios'


//挂载axios
Vue.prototype.$axios = axios
//设置访问根路径
axios.defaults.baseURL = "/api/"

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
